package com.sunjy.demo1.form;

import com.sunjy.common.base.BaseForm;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UserForm extends BaseForm implements Serializable {

    private static final long serialVersionUID = -6810162544398065736L;

    @NotNull
    private Integer id;

   @NotBlank
    private String name;
   
   private Boolean flag;
}
